package com.starbaba.mall.service;

import java.util.List;
import java.util.Map;

import com.starbaba.core.web.page.PageResponse;
import com.tuanzi.server.loan_base.model.db.Loan_Mall_Item;
import com.tuanzi.server.loan_base.model.db.Loan_Mall_Item_Topic;

public interface ProductItemService {
	
	public List<Loan_Mall_Item> getDateList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap);
	
	
	/**
	 * 根据商品源ID查询商品
	 * @param source_ids
	 * @return
	 */
	public List<Loan_Mall_Item> getLoan_Mall_Item(String source_ids);
	
	/**
	 * 根据id查询商品列表
	 * @param ids
	 * @return
	 */
	public List<Loan_Mall_Item_Topic> getLoan_Mall_ItemList(String source_ids);
	
	/**
	 * 查询商品数量
	 * @param ids 商品id
	 * @return
	 */
	public int countLoan_Mall_ItemList(String source_ids);
	
	
	/**
	 * 根据商品id查询商品信息
	 * @param source_id
	 * @return
	 */
	public Loan_Mall_Item getLoanMallItemBySourceId(String source_id);

}
